var util=require('util');
function demo()
{
    this.name="";
    this.setName=function(usrname)
    {
        this.name=usrname;
        console.log("setname>>",this.name);
    };
    this.getName=function()
    {
        return this.name;
    };
}

var obj=new demo();
// obj.setName("ruby");
// console.info("getname:",obj.getName());
console.log(util.inspect(obj));
console.log(util.inspect(obj,true));


